import { ApiProperty } from '@nestjs/swagger';

export class GetAreaListAdminResDtoData {
  @ApiProperty({ description: '区域编号' })
  readonly uuid: string;

  @ApiProperty({ description: '区域名称' })
  readonly name: string;

  @ApiProperty({ description: '区域描述' })
  readonly description: string;

  @ApiProperty({ description: '创建时间' })
  readonly created_at: Date;

  @ApiProperty({ description: '更新时间' })
  readonly updated_at: Date;
}

export class GetAreaListAdminResDto {
  @ApiProperty({ description: '区域总数' })
  readonly total_count: number;

  @ApiProperty({ type: GetAreaListAdminResDtoData, isArray: true, description: '区域列表' })
  readonly data: GetAreaListAdminResDtoData[];
}
